<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	
</script>
</head>
<body>
	<div>login</div>
	<div th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></div><br />
	<form  th:action="@{/user/login}" method="post">
		账号：<input type="text" name="username" /><br /> 
		密码：<input type="text" name="password" /><br />
		      <input type="submit" value="登录" /><br />
	</form>
</body>
</html>